import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SGangFightsSignUp
    
    export  class SGangFightsSignUp extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SGangFightsSignUp();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            arg1.writeBool(this.isCancel);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.isCancel = arg1.readBool();
            return;
        }

        public /* const */_type: int=502;

        public /* var */isCancel: Boolean;

        public static /* var */_regist: SGangFightsSignUp;
    }

            SGangFightsSignUp._regist = new SGangFightsSignUp(true);
        